package com.anc.elasticsearch.model.elasticsearch.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Score implements Serializable {
    private Long id;
    @Field(type = FieldType.Keyword)
    private String scorename;
    private int scor;

}
